package cn.yanghan.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class KillDto {

    @NotNull(message = "非法请求")
    private Long id;
    @NotEmpty(message = "秒杀码不能为空")
    private String killCode;
}
